#include "MeshCollider.h"

MeshCollider::MeshCollider(Mesh* mesh, std::string name) : Collider(NULL) {
    halfSize = mesh->computehalfSize();
}

MeshCollider::~MeshCollider() {

}

void MeshCollider::sethalfSize(glm::vec3 hs) {
    halfSize = hs;
}

glm::vec3 MeshCollider::gethalfSize() {
    return halfSize;
}
